/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ejerciciosconcurrencia2;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

/**
 *
 * @author Mañana
 */
class Divisores extends Thread {
    public Divisores(int i){
        
    }

    @Override
    public void run() {
        int i=0;
        int cont=0;
        int aux;
        for (int a = 1; a <= i; a++) {
            if ((i % a) == 0) {
                cont++;
               
            }
        } System.out.print(" " + cont + " ");
    }

}
